import request from '@/utils/request'

// 节假日去向列表
export function holidaysList(query) {
    return request({
      url: '/daily/holiday/list',
      method: 'get',
      params: query
    })
}

// 确认返校状态
export function confirmReturn(data) {
    return request({
      url: '/daily/holiday',
      method: 'put',
      data: data
    })
}

// 导出节假日去向数据
export function exportHolidays(query) {
    return request({
      url: '/daily/holiday/export',
      method: 'post',
      params: query,
      responseType: 'blob'
    })
}